Allow disabling constructors for classes which extend an internal one.