Fix handling of built-in types (string, fixnum, real)