Improved the 'simple example' to show that registration is happening in applicationDidFinishLaunching