I'm not sure why this change from Injector to InjectedValue is needed.