Validates that extension class has only default constructor.