Fix for derived types section of generic types.