Fixed/added docstrings in Grammar.py