Moved MongoDB related stuff to mongo.