Fixed deserializing.