Consolidate consts and vars.