public function getAvg($block)
    {
        if ($this->enabled) {
            if (!array_key_exists($block, $this->avgs)) {
                throw new \Exception('Average block '.$block.' not defined');
            }

            $this->finishAvgBlock($block);

            return $this->avgs[$block];
        }
    }