Hash table implementation.