Fixing compilation issues with IfServicesRestService.