Makes elasticsearch and haystack work