Added docstrings to base classes