Use AttributeCollection.