Fixes module exports.