Fixed non-optional deserialization for primitive types.