added docstrings to decorators.py