- Add documentation for sendCommand method