Fix notifications.
Merge pull request #8 from rxu/fix_notifications

Fix notifications.