Added support for time based notifications.