Dependency Injection for quinn