Adds remaining docstrings.
Adjusts namedtuple types names so doc can work.
Fixes docstring syntax errors.