The method of injection was changed in viewmodels