'Removes the `class` attribute from the <body> tag because
if there is a bad match, the entire DOM will be empty!'

def clean_body_classes(self, doc):

    elements = self.parser.getElementsByTag(doc, tag='body')
    if elements:
        self.parser.delAttribute(elements[0], attr='class')
    return doc
