Use new notification API
Fix text/plain output