reflect-based closures: fix, module-class-based endpoints