Add xref info to added data nodes. Closes #263