Baseclass for events