You can remove this part if we get rid of IGNORE_EVENT_TYPES