Add simple directives to grammar