solved side-effects of deleting Clabject.getDirectTypes()