
This allows extensions to override `_addNotification()` to create custom `NotificationMessage` subclasses, which is already possible for `MessageTray.MessageTray._showNotification()`. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3672>