Added DSL handling to grammar.