Update documentation for the ExternalCommandListener class.

Fixes #5953