Added a few more docstrings and edited some existing ones.