s/hash/type/g

Now it does install, what is needed!
/cc @pepelsbey @mathiasbynens