I have some functions that would create an instance of my exported class, thus I need to get the ctor of it. I've tried to store it inside the context opaque, but this would cause object leak, as there's no callback to release the opaque itself (thus ctor got leak together). I've checked the samples, but point.c doesn't provide a function to create a point instance directly. I believe storing ctor to globalObject could solve this problem, but I don't want to pollute it.