Fix private type exports.