Added multi gauge support.