Adding support for MongoDB.