Add support for join statements to grammars.