AST rewriter added to single-file