public function unregister($id)
    {
        if (array_key_exists($id, $this->components)) {
            unset($this->components[$id]);
        }

        if (array_key_exists($id, $this->instances)) {
            unset($this->instances[$id]);
        }

        return $this;
    }