Adding class type in AttributeMetadata