Static classes with state data was bad idead, need to create instances of NodesCache.