Added the Rational class.