def register_event(self, name, callback, *args, priority=EventManager.DEF_PRIORITY, **kwargs):
    register_event(self, name, callback, *args, priority=priority, **kwargs)
    return self
def register_event(self, name, callback, *args, priority=EventManager.DEF_PRIORITY, **kwargs):
    register_event(self, name, callback, *args, priority=priority, **kwargs)
    return self