adding some better instrumentation for key replication, removing outdated key replication methods