Added multiple gauge support.