SI-7172 More statically eliminated isInstanceOf checks.