Renamed "equals" to "dataWritten".