Added support for notifications.