Fix flake8 complaint.
Add documentation of template_name overrides.