Makes module compatible with CommonJS.