Code example of notifications.