event: ease up subclassing

use `self.__class__` instead of explicit class name