Add special method for validating centroids