Add titles for error pages.