I think we should remove `as()` as well (or leave both, `getKind()` and `as()`).