Made some cleanups to the overloading of certain data type conversions.