Convert to commonjs style module.