why not adding the object & string comparisons to the Type itself? Or pack the type into a wrapper and do it there?