Added get functions to number class.