Improve slides for variable scope.