Allows deserializing null structs.