public function serialize($keys = null)
    {
        if ($keys === null) {
            return (array)$this->getConfig('serialize');
        }

        return $this->setConfig('serialize', (array)$keys);
    }