Simplify commad generation.