Added support for task completion notifications.