Make some classes, traits, etc less visible.

In an effort to make the docs less noisy, this hides some classes/traits
that were previously public, but probably shouldn't have been.