Non-optional deserialization for primitive types.