Implementing write!.