Remove global vars that duplicated config variables.