On automatic deserialization