Add missing elements to allow MVC5.2 site to run

In combination with PR874, this allowed my site to work after trying to upgrade to the latest MVC version
Indentation messed here too.