Add docstrings to base.py.
Add docstrings to runtime_base.py