Changed handler parameter event to payload.