should we move this class into DependencyInjection? i think it does not really belong into Model.