Renamed last occurrences of data to document.