Implement replication mechanism.