Removed obsolete as.real() function