Bug fix in CommonJS exporting.