Improved docstrings for several classes/methods.