Moved pathfinding.