Added getCommand.