Run prepare blocks inside the context of the current scope.