Added support for NodeRef tags.