public function appendService(ServiceBase $successor)
    {
        if ($this->successor !== null) {
            $this->successor->appendService($successor);
        } else {
            $this->successor = $successor;
        }
    }