diff --git a/src/DCC.ts b/src/DCC.ts
index 714fcd5c496840c0eeaf1e853f54a10b2d14b653..7bec22a4546ee683d6625d893acc7bd929cc504c 100644
--- a/src/DCC.ts
+++ b/src/DCC.ts
@@ -157,7 +157,7 @@ export class MeasurementResultListType extends DCCXMLElement {
 /** The byteDataType defines a type which allows to add binary encoded files to the measurement result
  * section. */
 export class ByteDataType extends DCCXMLElement {
-  _attr: IIdAttributes;
+  _attr: IIdAndRefIdAndRefTypeAttributes;
 
   name?: TextType;
   description?: RichContentType;
@@ -436,7 +436,7 @@ export class MeasuringEquipmentListType extends DCCXMLElement {
 
 /** Clear name(s) of the item(s) and identifier(s). */
 export class EquipmentClassType extends DCCXMLElement {
-  _attr: IIdAttributes;
+  _attr: IIdAndRefTypeAttributes;
 
   reference: DCCXMLElement;
   classID: DCCXMLElement;
@@ -485,7 +485,7 @@ export class MeasuringEquipmentType extends DCCXMLElement {
 }
 
 export class HashType extends DCCXMLElement {
-  _attr: IIdAttributes;
+  _attr: IIdAndRefTypeAttributes;
 
   referral: TextType;
   referralID: DCCXMLElement;
@@ -700,7 +700,7 @@ export class PrimitiveQuantityType extends DCCXMLElement {
 
 /** A item that is calibrated in this DCC. */
 export class ItemType extends DCCXMLElement {
-  _attr: IIdAttributes;
+  _attr: IIdAndRefTypeAttributes;
 
   name: TextType;
   equipmentClass?: EquipmentClassType[];
@@ -752,7 +752,7 @@ export class IdentificationType extends DCCXMLElement {
 
 /** A person responsible for a DCC. */
 export class RespPersonType extends DCCXMLElement {
-  _attr: IIdAttributes;
+  _attr: IIdAndRefTypeAttributes;
 
   person: ContactNotStrictType;
   description?: RichContentType;