Refactor exports.