Updated for new Pathfinders API