Precompiled templates working