Primitive conversions.
Change loadRK to allocRK.