Merge pull request #145 from jmesnil/notification_registration_fixes

Notification registration fixes
add missing call to registerNotifications()