Simplify commands pattern