buildLoader does not have parameters

That is a tiny one, I guess it is a leftover from a refactoring.
Function buildLoader does not have parameters.