public function removeClass($className) {
        $oldClassName    = $this->getAttributeValue('class');
        $oldClassNameArr = $oldClassName ? explode(' ', $oldClassName) : array();
        unset($oldClassNameArr[array_search($className, $oldClassNameArr)]);
        $this->setAttribute('class', implode(' ', $oldClassNameArr));
    }