Don't rely on debug assertion to validate deserialization.