WIP for gauge handling.