Configure Dependency Injection.