This unified the implementations of dynamic's `downgradeNg2Component()` and static's `downgradeComponent()`.