Added support for ReplicaSet with Mongoose