Rework hashtable to not declare unused functions.