Implementing background notifications.