Mongo implementation of Db class.