Added type-checking for Ruby Bignum.