don't explode polymorphic variant types in the cache signature