Register the given command and handler if present.
Throw if a command is already registered for the given command identifier.
Optional
Register the given command and handler if present.
Throw if a command is already registered for the given command identifier.