Add CommonJS compatibility.