Remove imports of missing files and export some hidden symbols.