Completely hide Pathfinder behind two functions.