public function blocks(Collection $blocks = null)
    {
        if ($blocks) {
            $this->_blocks = $blocks;
            $this->homogenize();
        } elseif ($this->_blocks === null) {
            $this->_prepareBlocks();
        }

        return $this->_blocks;
    }