documentation for deserialization versus polymorphism.