Adding ElasticSearch initialization.