Simplifying the replica set config code.