Modified replication for master/standby.