documentation for deserialization versus polymorhism.