further changes to triggerEventHandlers: The parameters for the event handlers are given as an array, saves us the slice call.