Made setHasSubtypes public.