Added a few functions to hashdb