Add event base class.