Rename master to primary for replication.