adding support for any Elasticsearch\Client parameter