Add notification event handler and some specific handlers for events.