Rename provideLocals to localsAsTemplateData