New class to implement "switcheable" documents in MongoEngine.