Initial templating work.