Replication events implementation WIP