Refactor template processing