Add freemark template support