Handsontable.plugins.registerPlugin not defined

I’m trying to register a custom external plugin via Handsontable.plugins.registerPlugin, but the function doesn’t seem to be defined. If I put a breakpoint at this line in handsontable.full.js (1.0.0-beta3):

Handsontable.plugins.registerPlugin = registerPlugin;

Then I can see immediately after that line that registerPlugin is defined. At that point, Handsontable.plugins looks something like:

{
    utils: {},
    registerPlugin: function registerPlugin(pluginName, PluginClass)
}

But when my plugin tries to register (later in the program flow), Handsontable.plugins looks like:

{
    AutoColumnSize: function AutoColumnSize(hotInstance),
    // ...
    // A bunch more plugin functions, none of which is registerPlugin
    // ...
    utils: {}
}

Am I doing something wrong, or missing something?

You are right @pernice3. This method is a part of public API and it should exist. I saw that it disappeared since v0.20.1 of Handsontable and it doesn’t exist in Handsontable Pro too. This is definitely a bug.

You can track changes here.

Thanks!

changes made with https://github.com/handsontable/handsontable/issues/3167