public function _cleanClasses($node)
    {
        if ($node->getAttribute('class') !== '') {
            $node->removeAttribute('class');
        }

        for ($node = $node->firstChild; $node !== null; $node = $node->nextSibling) {
            $this->_cleanClasses($node);
        }
    }