Added helper static methods for obtaining single-command output