Also the previous code added every event_handler to the registry as long as the event_handler was imported somewhere in the code base. This is an iteration on that to make these event_handlers interview specific. So this review isn't really about whether this is the ideal way to do it but a slight improvment such that we can support state in our applications.