Added an index field for every node.