It's done by `parse` (and `getOrFindDirectories()` and `getOrFindProtos()`).