Refactoring in module definitions to use the `require, exports, module` definition signature