Add ParsingEventHandler type definition