Fix Scala parsing