Simplify Hash.build_type