public function serialize()
    {
        $this->handlers = null;
        $this->defaultHandler = null;

        // Serialize the options, data, and inputs.
        return serialize($this->htmlCleaner);
    }