Hashlist: add function to flush the contents of a hashlist.