     @userDefinedOpcodesByTextEditors = {}
 
   createPattern: (options) ->
-    new CsoundOrchestraGrammarPattern(this, @registry, options)
+    new CsoundOrchestraGrammarPattern this, @registry, options
 
   userDefinedOpcodesForTextEditor: (editor) ->
     userDefinedOpcodes = @userDefinedOpcodesByTextEditors[editor]

      # Odd negative numbers are begin-scope tags.
      if (tag % 2) is -1
        captureIndicesArrayIndex--
        switch @registry.scopeForId(tag)
          when 'entity.name.function.opcode.csound'
            # Add names of user-defined opcodes to the opcode dictionary so they
            # can be scoped as function names.

          when 'meta.other.csound'
            captureIndices = captureIndicesArray[captureIndicesArrayIndex]
            substring = line.substring captureIndices.start, captureIndices.end
            if /^p\d+$/.test substring
               # The substring is a parameter field.
              @setTagAtIndexToScope newTags, index, 'support.variable.csound'
            else if substring in CsoundOrchestraGrammarPattern.opcodes
