Changed Server:getInstance to $this->getServer()