Added mongoengine support