Refactoring MongoDocument and MongoCollection,