Pass the real controllers to the sitemap middleware