public function removeAttribute($key)
 {
     if ($this->isNoResolvedType()) {
         return parent::removeAttribute($key);
     }
     $this->referencedType = $this->referencedType->removeAttribute($key);
     return $this;
 }