Replace TorrentResult class by a method