Changes some AST node names according to reference