Added notifications.
Corrected type error.