Modify mdc-replication related functions