Add batched gauges.

This simplifies rather a lot of things.