public function model($instance = false)
	{
		if (! isset($this->model)) {
			throw new \InvalidArgumentException(static::class . ' does not implement a model definition.');
		}

		return $instance ? new $this->model : $this->model;
	}