Added hash support to the Torrent model