* Better support class instances assigned to the module object for JS declarations * Extract constant