refactoring: rename TemplateContext to NestedContext (#6)