Modified the dependency injection file.