public function addMessage($type, $message, $file = null, $file_details = null)
	{
		switch ($type)
		{
			case Output::FATAL:
				$this->fatals[] = new Message($type, $message, $file, $file_details);
				break;
			case Output::ERROR:
				$this->errors[] = new Message($type, $message, $file, $file_details);
				break;
			case Output::WARNING:
				$this->warnings[] = new Message($type, $message, $file, $file_details);
				break;
			case Output::NOTICE:
				$this->notices[] = new Message($type, $message, $file, $file_details);
				break;
			default:
				// TODO: Decide on this?
		}
	}