public function getType() { return $this->typeId ? craft()->neo->getBlockTypeById($this->typeId) : null; }