Use ZenEventClasses instead of numeric constant.

Incorporated from changes made by Bunyk on the wiki.