Add documentation for the command method