Added some internal coercion class methods toInt, toFloat, toLong, toComplex