Added docstrings for all the command functions