public static function generateUnwrapped($strScope=TL_MODE, $blnRaw=false)
	{
		$session = System::getContainer()->get('session');

		if (!$session->isStarted())
		{
			return '';
		}

		$strMessages = '';
		$flashBag = $session->getFlashBag();

		foreach (static::getTypes() as $strType)
		{
			$strClass = strtolower($strType);
			$arrMessages = $flashBag->get(static::getFlashBagKey($strType, $strScope));

			foreach (array_unique($arrMessages) as $strMessage)
			{
				if ($strType == 'TL_RAW' || $blnRaw)
				{
					$strMessages .= $strMessage;
				}
				else
				{
					$strMessages .= '<p class="' . $strClass . '">' . $strMessage . '</p>';
				}
			}
		}

		return trim($strMessages);
	}