Fixed type to CommandAST