Fixed insertion of event_type. (#22)