A bit nasty.  Would probably be better if we added a join template to our Utils module (alongside the existing split template).