MongoMapper refactoring