Deals with empty classes in Validate.pl