Simplified event handling: only ZEND is significant.