allDeepInstances, typeof and kindof with "old" logic again