Simplify calculations.