Grammar changes to accommodate named traversals