Add deserialization.