Added class detection code for 7.7 events.