anchor.diff:  update_service_rating_b1([], _SCID, _SI, Acc) ->
   	Acc.
   
  --spec final_service_rating_b(MSCC, ServiceContextId,
  -		Destination, ServiceInformation) -> ServiceRating
  +-spec final_service_rating(MSCC, ServiceContextId,
  +		Destination, ServiceInformation, Class) -> ServiceRating
   	when
   		MSCC :: [#'3gpp_ro_Multiple-Services-Credit-Control'{}],
   		ServiceContextId :: string(),
   		ServiceInformation :: [tuple()],
   		Destination :: string() | undefined,
  +		Class :: a | b,
   		ServiceRating :: [{struct, [tuple()]}].
   %% Create list of service elements to be rated.
  -final_service_rating_b(MSCC, ServiceContextId, undefined, ServiceInformation) ->
  +final_service_rating(MSCC, ServiceContextId, undefined, ServiceInformation, Class) ->
   	SCID = {"serviceContextId", ServiceContextId},
  -	final_service_rating_b1(MSCC, SCID, ServiceInformation, undefined, []);
  -final_service_rating_b(MSCC, ServiceContextId, ServiceInformation, Destination) ->
  +	final_service_rating1(MSCC, SCID, ServiceInformation, undefined, Class, []);
  +final_service_rating(MSCC, ServiceContextId, ServiceInformation, Destination, Class) ->
   	SCID = {"serviceContextId", ServiceContextId},
   	Des = {"destinationId", {array, [{struct, [{"destinationIdType", "DN"},
   			{"destinationIdData", Destination}]}]}},
  -	final_service_rating_b1(MSCC, SCID, ServiceInformation, Des, []).
  -%% @hidden
  -final_service_rating_b1([#'3gpp_ro_Multiple-Services-Credit-Control'{
  +	final_service_rating1(MSCC, SCID, ServiceInformation, Des, Class, []).
  +%% @hidden
  +final_service_rating1([#'3gpp_ro_Multiple-Services-Credit-Control'{
   		'Used-Service-Unit' = USU, 'Service-Identifier' = SI,
  -		'Rating-Group' = RG} = _MSCC | T], SCID, SInfo, Des, Acc) ->
  +		'Rating-Group' = RG} = _MSCC | T], SCID, SInfo, Des, Class, Acc) ->
   	Acc1 = case SI of
   		[] ->
   			[];
  
positive.code: 		_ ->
  			[Des | Acc3]
  	end,
  	ServiceRating = case used_unit(USU) of
  		[] ->
  			{struct, [SCID, {"requestSubType", "DEBIT"} | Acc4]};
  		ConsumedUnits ->
  			{struct, [SCID, {"consumedUnit", {struct, ConsumedUnits}},
  					{"requestSubType", "DEBIT"} | Acc4]}
  	end,
  	final_service_rating_b1(T, SCID, SInfo, Des, [ServiceRating | Acc]);
  final_service_rating_b1([], _SCID, _SI, _Des, Acc) ->
  	Acc.
  
  %% @hidden
  
negative.code: 		case reserved_unit(RSU) of
  			[] ->
  				ServiceRating = {struct, [SCID, {"requestSubType", "RESERVE"} | Acc4]},
  				initial_service_rating(T, SCID, SInfo, Des, Class, [ServiceRating | Acc]);
  			ReservedUnits ->
  				ServiceRating = {struct, [SCID, {"requestedUnit", {struct, ReservedUnits}},
  						{"requestSubType", "RESERVE"} | Acc4]},
  				initial_service_rating(T, SCID, SInfo, Des, Class, [ServiceRating | Acc])
  		end
  	end;
  initial_service_rating([], _SCID, _SI, _Des, _Class, Acc) ->
  