Added docstrings for methods