I would prefer using `Nette\Http\UrlScript` here.