Adding docstrings to example generators