public function render($template = null, $view = null, $partials = null) {
		if ($template === null) $template = $this->_template;
		if ($partials !== null) $this->_partials = $partials;

		$otag_orig = $this->_otag;
		$ctag_orig = $this->_ctag;

        // Including server properties in the view
        //$view = array_merge($this->server->getAll(), $view);
        $view['baseUrl'] = $this->server->siteUrl('');

		if ($view) {
			$this->_context = array($view);
		} else if (empty($this->_context)) {
			$this->_context = array($this);
		}

		$template = $this->_renderPragmas($template);
		$template = $this->_renderTemplate($template);

		$this->_otag = $otag_orig;
		$this->_ctag = $ctag_orig;

		return $template;
	}