Avoiding awkward inheritance. CachingPathfinder has-a DefaultPathfinder.