Rough sketch for a NodeSet class.