Add subclasses of Number: Irrational, Integer, Fraction and Log.