Sketch implementations of writeArguments and writeMessage.