`loader.getRequires()` returns the list of required modules for a particular mod, this line is calling `loader.getRequires()` for each of the modules in `optionalRequires`, so we can aggregate those requirements to the final requirements of the host module. I will add some docs around it.