grammars: drop lexical scopes in body and add unapply