Run buffer through checkdoc.

Add code marker and add punctuation to docstrings.