TryDeserialize method introduced.