public function buildOptions(array $options)
    {
        $options = array_merge(
            array(
                'link' => null,
                'icon' => null,
            ),
            $options
        );

        if (isset($options['link']) && $options['link'] !== null) {
            $options['extras']['link'] = (array) $options['link'];
        }
        $options['extras']['icon'] = $options['icon'];
        return $options;
    }