public function bindPopup($popup, $options = null)
    {
        $this->popup        = $popup;
        $this->popupOptions = $options;

        if (!empty($options)) {
            return $this->addMethod('binPopup', array($popup, $options));
        }

        return $this->addMethod('bindPopup', array($popup));
    }