Make compatible with CommonJS module system.