Added MongoDb support.