Adding number class.