Added docstrings for most interactive functions.