Support for mongo replica sets