Improved Internal Format → Type conversion