public function revertFormat() {
        $allFormats = $this->getPreviousFormats();
        if(!empty($allFormats)) {
            $this->currentFormat = array_pop($allFormats);
            $this->setPreviousFormats($allFormats);
        }
    }