protected function configure($options = array(), $attributes = array())
    {
        $this->addOption('culture', sfContext::getInstance()->getUser()->getCulture());
        $this->addOption('width', sfConfig::get('sf_sfSelect2Widgets_width'));
        $this->addRequiredOption('model');
        $this->addOption('add_empty', false);
        $this->addOption('method', '__toString');
        $this->addOption('key_method', 'getPrimaryKey');
        $this->addOption('order_by', null);
        $this->addOption('query_methods', array());
        $this->addOption('criteria', null);
        $this->addOption('connection', null);
        $this->addOption('multiple', false);
        // not used anymore
        $this->addOption('peer_method', 'doSelect');

        parent::configure($options, $attributes);
        $this->setOption('type', 'hidden');
    }