Clean up documentation in several files to more useful in godoc.