Added a some more docstrings.