Add support for gauge messages.

Just a convenience function.