- Refactor bossbar implementation (#1209)