Remove another use of AttributeWithIndex, using the AttributeSetImpl accessors instead.