The method name here doesn't suggest that it will  have a side effect of setting the command.  Should we use the same pattern as we do for pig?