Clarified docstrings, and cleaned up whitespace