Updated README and docstrings.