MDL-40963 events: get_name() should use get_called_class() instead of __CLASS__