Use Attribute Interface in DistanceArray