Updates for refined gauge residency interface.