Renamed EsDocument to just document.