Documentation improvements

This adds some documentation improvements that are needed to get a documentjs site up and running. That will be coming in another pull request, but this is needed first.