public function __construct($attributes = array(), ClientInterface $client = null) { parent::__construct($attributes); if ($client) { $this->_client = $client; } }