Add Template.extendContext to extend context to all templates