Properly decode most of the events.