Added support for MongoDB and RedisDB