public function delete($connection = null) { QubitSearch::deleteById($this->id); return parent::delete($connection); }