renamed RelatedTypes to TypeResolver