Minor changes in the generic hash interface.