DEV: templatise the HashTable class