Move some functions from MongoDatabase to MongoCollection