Added nonlocal to grammar