Added an optional trigger_id field to the internal event.