Would be good to have in setting to define how it should be provided, by "provideIn" syntax or legacy syntax.