Updated controller for minification.