Removed unused pathfinding code