Encapsulate node type as properties on Node.
Rewrite arg list f(a,b,c) with parens f(a)(b)(c).