Unbind error after upgrading from 1.14.0 to 1.16.0

I have a frontend module that binds the FileNavigatorContribution and OutlineViewContribution to constant values as shown below

import { ContainerModule } from "inversify";
import { OutlineViewContribution } from "@theia/outline-view/lib/browser/outline-view-contribution";
import { FileNavigatorContribution } from "@theia/navigator/lib/browser/navigator-contribution";
import { FrontendApplicationContribution } from "@theia/core/lib/browser";

import { RemoveUnusedFrontendContribution } from "./core-contribution";

export default new ContainerModule((bind, _unbind, _isBound, rebind) => {
    rebind(FileNavigatorContribution).toConstantValue({
        // eslint-disable-next-line @typescript-eslint/no-empty-function
        registerCommands: () => {},
        // eslint-disable-next-line @typescript-eslint/no-empty-function
        registerMenus: () => {},
        // eslint-disable-next-line @typescript-eslint/no-empty-function
        registerKeybindings: () => {},
        // eslint-disable-next-line @typescript-eslint/no-empty-function
        registerToolbarItems: () => {},
    } as any);

    rebind(OutlineViewContribution).toConstantValue({
        // eslint-disable-next-line @typescript-eslint/no-empty-function
        registerCommands: () => {},
        // eslint-disable-next-line @typescript-eslint/no-empty-function
        registerMenus: () => {},
        // eslint-disable-next-line @typescript-eslint/no-empty-function
        registerKeybindings: () => {},
        // eslint-disable-next-line @typescript-eslint/no-empty-function
        registerToolbarItems: () => {},
    } as any);

    bind(FrontendApplicationContribution).to(RemoveUnusedFrontendContribution);
});

Reason for binding this to a constant value - I don’t want those contributions to be part of my application.
I followed @vince-fugnitto’s suggestion from here - Minimal setup - code editor only (no navigator and other features)

After upgrading to 1.16.0, when I run the browser version, I get the below error

Did something change in 1.16.0 that would require me to remove contributions in a different way?

Turns out when I upgraded the versions using yarn, it re-ordered the listing of extensions in the deps section of the package.json for the electron and browser application - it put my extension at the very top before any of the theia modules.
I assume the ordering of extensions in the package.json will determine the order in which extensions are loaded. SInce my extension was loading before any of the theia extensions, there wasn’t a FileNavigatorContribution or OutlineViewContribution to rebind, hence the error.