added AsInstanceOf inspection