Added CommonJS support.