Make TextFormat hash/equal'able