Fix some private export warnings