Cleanups. Legend for dashboard.