Fixing up module.export in core/list.js