public function setClient(ClientInterface $client)
    {
        parent::setClient($client);
        foreach ($this->plugins as $plugin) {
            if (!($plugin instanceof ClientAwareInterface)) {
                continue;
            }

            $plugin->setClient($client);
        }
    }