refactorings for SharedHashTable Generation