public function persist($model, $errors = array(), $data = array()) {
		if (is_a($model, 'Model')) {
			$errors = $model->validationErrors;
			$data = $model->data;
			$model = $model->alias;
		}

		return $this->Session->write("$this->sessionKey.$model", compact('data', 'errors'));
	}