Allow disabling constructors for classes which extend an internal one

Follows changes made in #165 and finally fixes #154.