I think we should only reference the Path API since we removed `ElementDescriptor#getKind()`.