Docstrings, minor fixes.