updated the `NotificationProvider` interface.