Properly handle big integers.