Add support for histogram data