Track variables in main.