public static function take($key, $defaultValue = null) {
		if (isset($_SESSION[$key])) {
			$value = $_SESSION[$key];

			unset($_SESSION[$key]);

			return $value;
		}
		else {
			return $defaultValue;
		}
	}