Cleaned up docstrings and whitespace.