Additional documentation fixes for NotificationCommand example.

Fixes #5478