added generic.py to documentation