Remove unneeded parameter from event.