Some fixes for the Number object.