Make node creation more consistent in the parser.