Updated webNotifications API