Changed event type and name of get_type(self) method