Extract notifier to module and handle escaping.