Adapt ArithmeticTraits to new coding style.