Allow external modules to add types of which instances should be hashed by value in the autojit cache