Support integer and float references for native calls.