Compatibility for ElasticSearch v0.20.6.