Changed trigger method to triggerHandler in the custom events