some improvements to abstract nodes and rels