public function attach($object, $data = null) { $this->initialize(); parent::attach($object, $data); }