BUG: cum_perfs defined but not used.