private function createLatteEngine()
	{
		$latte = new LatteEngine\Engine;
		$latte->setTempDirectory($this->temp);

		// Form macro.
		$latte->onCompile[] = function($latte) {
			Bridges\FormsLatte\FormMacros::install($latte->getCompiler());
		};
		return $latte;
	}