Cleaned up docstrings and some references.