protected function addChanges(SimpleXMLElement $releaseNode, Release $release)
	{
		$changesNode = $releaseNode->addChild('changes');

		foreach ($release->getAllChanges() as $type => $changes)
		{
			$typeNode = $changesNode->addChild('type');
			$typeNode->addAttribute('name', $type);

			foreach ($changes as $change)
			{
				$typeNode->addChild('change', $change);
			}
		}
	}