#351 Use bootstrapping function to keep temporary variables in local scope.