Change the order of the params of genIs/AsInstanceOf.