added/fixed examples for commands and protocol bindings