add hash support.