Since the event_dispatcher now is an alias instead, its definition needs to be retrieved differently