public function render($viewName, $data = array()) {
		try {
			return $this->twig->render($viewName, $data);
		}
		catch (\Twig_Error_Loader $e) {
			throw new TemplateNotFoundError($e->getMessage());
		}
		catch (\Twig_Error_Syntax $e) {
			throw new TemplateSyntaxError($e->getMessage(), 0, $e);
		}
	}