Documentation fix.

Noticed misnamed arguments in the documentation, and then went on to completely fix the documentation formatting, as well.