#403 Badges were accumulating css classes by calling setType(BadgeType). Fixed.