Renamed to writeItems/writeNodes().