Changed deserialize.