Removed bytesWritten