- Refactor unnecessarily separate helper templates into functions.