public function getOptions()
    {
        if(!$this->options){
            if (isset($this->optionsClass)) {
                $this->options = new $this->optionsClass(array());
            } else {
                $this->options = new Options(array());
            }
        }
    
        return $this->options;
    }