Moving write and split_write to new internal storage.