Utility classes for Elasticsearch plugin