Fix export warnings