Created hashtable and supporting functions.