jade: Better middleware design for including context variables in jade.