Simplify template structure.