Eliminate implicit `any` in "xpath" tests.