added docstrings for Thread and Post