Better implementations of unbox helpers.

Use primitive operators that convey more meaning to the VM
as the expected result type.