Primitive type deserialization code improvements.