Added set_notification_ex implementation.