Added some docstrings