Refactored NodeInfo to make read only