[NodeList, Pathfinding] Moved NodeList functions from Pathfinding.