private function _getBlockTypeRecord(SuperTable_BlockTypeModel $blockType)
 {
     if (!$blockType->isNew()) {
         $blockTypeId = $blockType->id;
         if (!isset($this->_blockTypeRecordsById) || !array_key_exists($blockTypeId, $this->_blockTypeRecordsById)) {
             $this->_blockTypeRecordsById[$blockTypeId] = SuperTable_BlockTypeRecord::model()->findById($blockTypeId);
             if (!$this->_blockTypeRecordsById[$blockTypeId]) {
                 throw new Exception(Craft::t('No block type exists with the ID “{id}”.', array('id' => $blockTypeId)));
             }
         }
         return $this->_blockTypeRecordsById[$blockTypeId];
     } else {
         return new SuperTable_BlockTypeRecord();
     }
 }