Add xf:template and xf:snippet