Use typeid.getHash instead of rt.util.hash.hashOf which is not
accessible from outside druntime.