Added chaining of nodes and links.