reduce memory use on Attribute() caused by Attributes().