a way of setting precompiled templates