The comment on pathbuilder says that is isn't currently used. I think that also needs to be updated, since it is pretty clear that it is now being used (and maybe was before?).

Also, is there a reason to cache this?