Implemented Link#to_hash.