Reset variables.