Implement message writer.

I agree. Done.