Adding custom event dispatcher in order to throw exception if a listener is not associated to an event, useful when developing plugins