Class adapted to MongoID