public function unregisterService($name)
    {
        $name = strtolower($name);

        if (isset($this->services->$name)) {
            unset($this->services->$name);
            return true;
        }
        return false;
    }