Added a few docstrings, refs #11.