Before and after hooks in Notifier