pass more useful parameters to template renderers