Fixed toNative switch for class type