Add "requires_class" to event parsing