Update to work with elasticsearch 0.90.5