can't you get this off the event rather than relying on the class?