Adding error templates.
Allow trailing slashes in URLs.