Made the node immutable and changed the methods so cycles are impossible.