Add dependency injection configuration.