Minor fix: don't spill pointers, export GET-EVENT-TYPE