Fix elasticsearch imports.