Properly type nodes in node.