This makes it so we can add a class to the badge on a tab which will show the right color. References #5007