Temporary fix for missing EventSanitizer, should be moved to core too.