Export and document (kind of) branch_hist/freqpoly