Created and improved docstrings