Add constness and value by reference in TorrentTempData.