sO eleu_callModuleHTMLMethod(O module, O req) {
if (!dm_moduleIsStarted(module))
ret serve500(print("Module not started"));
dm_call(module, 'setEleu, or(mainBot(), mc()));
Method htmlMethod = first(singleArgumentMethods(findMethodsNamed_nonSynthetic(dm_mod(module), "html")));
if (htmlMethod == null) fail("HTML method not found in module " + module);
Class reqType = firstMethodArgumentType(htmlMethod);
O wrappedReq = req;
if (isInterface(reqType))
wrappedReq = proxy(reqType, req);
ret dm_call(module, 'html, wrappedReq);
}