public function close($value)
	{
		if (!($value instanceof Closure))
		{
			$value = function($uri) use ($value)
			{
				if (is_callable($value))
				{
					return call_user_func_array($value, array($uri));
				}
				return $value;
			};
		}

		return $value;
	}