Add message preview to examples.

This is dependent on #155.