move calculation of synthetic ModuleDef parents into typedParentTypes
refactors typedTemplate
c.introduceMember