Refactored intro of replication.