Added pathfinding predicate