Fixing mongoengine versioning issues.