Define Event and Notification handling