Added init class to grammar.