Added helper methods for generating commands