Allow any kind of Sample for Histogram.