Added missing implementation for HashDict