protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['type'] = "metadata"; }