Add grammar to docs