why the hash search here? Wouldn’t be `getTypeByGuid` be faster here?