[MOD] move replication stuff from commands to BaseXMember