public function options(Model $model, Controller $controller = null) {
        $enum = array();

        if (isset($this->_enums[$model->alias])) {
            foreach ($this->_enums[$model->alias] as $key => $values) {
                $var = Inflector::variable(Inflector::pluralize(preg_replace('/_id$/', '', $key)));

                if ($controller) {
                    $controller->set($var, $values);
                }

                $enum[$var] = $values;
            }
        }

        return $enum;
    }