Responding to PR feedback.

* Change how we find input workflows for selectors and
* make `foldBuilders` private.