Changed the addProtocolCommand method to be setProtocolCommand for consistency.
Added the ddoc file for others to generate the correct documentation.
Regenerated the documentation.
Updated the example.