ENH: Add infrastructure for computing dispersions