Start rewriting the AST.