static public function factory($type='html', array $params=null) {
		if (!isset($type) || !strcasecmp($type, 'html'))
			return (new Html\Renderer($params));
		throw new \Exception("Unknown Skriv rendering type '$type'.");
	}