public function afterFind() { if ($this->version == '') { $this->version = 'Development'; } $this->installed = true; return parent::afterFind(); }