Add Action.toCommand