[COMMIT] Hash table cleanups, part 1 of 2