Hopefully this will conform with the new module system.

All I did was add module.exports to everything, I also fixed the
argument line.