Change scope of variables.