Histogram (de)serialization and compression added.