Bug fix: CompositionProxyTypeBuilder crashed when class has protected constructor.