Transitioning to more refinable grammars