Add a histogram generator.