Made changes to create infrastructure for interning objects and made
NodeIds internable