public void registerModule(ModuleEntity module) {
        registerModule(module, false);
    }
Remove all method which does not destruct

@throws Throwable
jphp-runtime/src/php/runtime/env/Environment.java