Better support for Set inner type recognition