Fixing broken templates.