Override of mongoengine and pymongo