Cleanup remains of legacy replication API