Eh, well, that's the only way I can think of.

Other way is to switch to a different template system