Added and fleshed out a few docstrings