Implemented Replication.