<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_listener(self, event_name: str, listener: Callable):
 """Add a listener."""

        self.listeners[event_name].append(listener)
        return self