public function get($tag)
{
if (!$this->indexed) {
$this->indexTags();
}
if (isset($this->tags[$tag])) {
return $this->tags[$tag];
} else {
throw new TagNotFoundException($tag);
}
}