Documentation cleanup.

Made various small tweaks to eliminate Sphinx errors and warnings.