Minor changes to sums and differentiable sums.