supporting mongoengine 0.7