Improvements to parameter validation, formatting, and docs
Inlined and improved documentation

Previously, each sub came with comment that was not particularly useful,
and the actual documentation was so far away from the method that it was
not staying in sync. There are still some awkward areas, like the
redundancy between the configuration section and setter descriptions.