Create typetag by hashing, avoid order-of-definition constraint