public function add_class( \DOMElement &$node, $classes){
		$classes = (array)$classes;
		if( $node->hasAttribute('class') ){
			$classes = array_merge($classes, explode(' ', $node->getAttribute('classs')));
		}
		$node->setAttribute('class', implode(' ', $classes));
	}