Performance improvement: ParallelDependencyResolver uses Module#dependencies directly to avoid overhead associated with iterators.