Revert "Make it possible to define extra variables per controller for injection into templates."

This reverts commit 52c764da9e0786697b5e8ca00acfcf9882ae705a.
Make it possible to define extra variables per controller for injection into templates.