added PathFinder.as.