Use 'types' instead of 'classes' when inspecting api types