Also it would be great to add warning message if version of ES is below 1.0.