Use `namedTypes` to check node types.