Allow torrent_hash be null.