Add settings for search and 404 templates.