Only load templates once