Adding deserialization.