@Inject
 public RestPatchProvider(
     RegistryService registryService,
     JCRNodeFactoryService jcrNodeFactoryService,
     BeanConverter beanConverter,
     UserFactoryService userFactoryService) {
   Registry<String, RestProvider> registry =
       registryService.getRegistry(RestProvider.REST_REGISTRY);
   registry.add(this);
   this.jcrNodeFactoryService = jcrNodeFactoryService;
   this.beanConverter = beanConverter;
   this.userFactoryService = userFactoryService;
 }
 @Inject
 public RestFriendsProvider(
     RegistryService registryService,
     SessionManagerService sessionManagerService,
     UserEnvironmentResolverService userEnvironmentResolverService,
     ProfileResolverService profileResolverService,
     EntityManager entityManager,
     FriendsResolverService friendsResolverService,
     UserFactoryService userFactoryService,
     BeanConverter beanConverter,
     AuthzResolverService authzResolverService,
     JCRService jcrService) {
   this.registry = registryService.getRegistry(RestProvider.REST_REGISTRY);
   this.registry.add(this);
   this.beanConverter = beanConverter;
   this.sessionManagerService = sessionManagerService;
   this.userEnvironmentResolverService = userEnvironmentResolverService;
   this.entityManager = entityManager;
   this.profileResolverService = profileResolverService;
   this.friendsResolverService = friendsResolverService;
   this.userFactoryService = userFactoryService;
   this.authzResolverService = authzResolverService;
   this.jcrService = jcrService;
 }