Updating MedeaDOWN to use new factory method syntax of Medea's module.exports.