remove generics in ReplicationService