Remove old writeToStream