Since no logic is performed in the members of NodeInfo class, merge them into properties.