Grammar coherence