Move variable declaration to beginning of scope.