Changes necessary to make the plugin work with elasticsearch 0.90.*