X macro magic.
Fix name.
Histogram support.
Histogram workings.