The check above also ensures `attributes` has the key `$event->name`, even though we are almost certain.