Properly using TreeRendererInterface instead of the ViewModel injection hack.