Added config as return value for notification's 'register'