Simplify DashboardController slightly.