Add sub-types info on parent definitions (for mindoc) as side-effect.