Don't export symbols from Core that shouldn't be called directly
Merge pull request #6443 from JuliaLang/sjk/fewer-exports

Don't export symbols from Core that shouldn't be called directly