modified check for default constructor. If no constructors declared, it should be okay to allow the class.