Adjusted lib dependency injection