public function addNamespace($namespace, $location)
	{
		$loader = $this->twig->getLoader();

		$loader->addPath($location, $namespace);

		foreach ($loader->getPaths() as $path) {
			if (is_dir($dir = $path.'/'.$namespace)) {
				$loader->prependPath($dir, $namespace);
			}
		}
	}