Use a precompiled empty template

Minor cleanup but also future proofs us against changes to the template object.