Eliminate unnecessary exports.