Add inheritance for Class with attribute "Event'