Add missing docstrings and comments to GIthub example