Leaving as is as discussed since NodeState needs a string not the state object.