docs: def _trigger(self, event_name, *args, **kwargs):
          """
          Triggers a given event with the following *args and **kwargs
          parameters.
          """
          self.log('event: %s' % event_name, *args)
          for f in self._events[event_name]:
              f(*args, **kwargs)