public function removeExtension(extension $extension) { $this->extensions->detach($extension); return $this->removeObserver($extension); }