Added support for MongoDB.