Fixing DI errors found after minifying.