removed type macros from hash module