Rewriting AST reading.