Optimizations to make the dashboard load better.