Not really sure what this code was doing — maybe trying to allow a Torrent object to be passed in to another client? Since torrent.parsedTorrent is gone and the data just lives directly on the torrent object, removing this code should work just fine.