Some docstrings for hive.py