code: def emit(self, event, *args, **kwargs):
          
          self._emit(event, self, *args, **kwargs)
docs: Emits an event call to all handler functions registered against
          this model's class and the given event type.