Lessen the scope of some variables.