Refactored attribute type to mesh more to the sampler's Metric type.