Event hooks are now being executed when the event is triggered.