Added more detailed example in docstrings