mongo_engine compatibility