(cherry picked from commit 1b909f9dacf21c7d3a6f9eb48afd168f52801bd4)
* is responsible for registering plain modules. * requires compilation with the `WITH_DYNAMIC_LINKING` flag. * requires further support of the ScriptMgr.