Switched to module.exports for consistency throughout package.