Now it sees all the types, but does not correctly detect the kind.