[WIP] Fix ht interface

Resubmit from #105 onto master
The user knows the internal object and is therefore better equipped to extract a key of some sort for identification of an object. In the end, the hash is nothing but a way to speed things up.