Fixing templates.