Configuring mongo.