Avoid returning the tag of a type by value