Structured templates to remove repetition