Enhance docstrings and include examples