How do Replicas work?