add missing call to registerNotifications()
Merge pull request #147 from jmesnil/notification_registration_fixes

add missing call to registerNotifications()