This should have a 'fields' setting so that Toolkit can validate that it has everything it needs to use the template.  Because the code only gets fields from the context, this should be 'fields: context' I think