Implement message writer.

It should. Done.