Add save/restore of Nodes in document.