Reimplemented HasTids to use a class variable instead of closures to hold the hash.