Fixed the basic version of the grammar.