Add class-member checks for failing constructors (compat).