Remove global vars.