     checkIfDirectory = options?.checkIfDirectory ? true
     if checkIfDirectory and fs.isDirectorySync(bindingsPath)
       for filePath in fs.listSync(bindingsPath, ['.cson', '.json'])
-        if this.filePathMatchesPlatform(filePath)
-          this.loadKeymap(filePath, checkIfDirectory: false)
+        if @filePathMatchesPlatform(filePath)
+          @loadKeymap(filePath, checkIfDirectory: false)
     else
-      this.add(bindingsPath, this.readKeymap(bindingsPath, options?.suppressErrors), options?.priority)
-      this.watchKeymap(bindingsPath, options) if options?.watch
+      @add(bindingsPath, @readKeymap(bindingsPath, options?.suppressErrors), options?.priority)
+      @watchKeymap(bindingsPath, options) if options?.watch
 
     undefined
 

  #   * `which`  A {Number} indicating `which` value of the event. See
  #     the docs for KeyboardEvent for more information.
  #   * `target` The target element of the event.
  KeymapManager.buildKeydownEvent = (key, options) ->
    keydownEvent(key, options)

  KeymapManager.buildKeyupEvent = (key, options) ->
    keyupEvent(key, options)

  ###
  Section: Properties

        if normalizedKeystrokes = normalizeKeystrokes(keystrokes)
          keyBinding = new KeyBinding(source, command, normalizedKeystrokes, selector, priority)
          addedKeyBindings.push(keyBinding)
          @keyBindings.push(keyBinding)
        else
          console.warn "Invalid keystroke sequence for binding: `#{keystrokes}: #{command}` in #{source}"

    new Disposable =>
      for keyBinding in addedKeyBindings
        index = @keyBindings.indexOf(keyBinding)
        @keyBindings.splice(index, 1) unless index is -1
      return

  removeBindingsFromSource: (source) ->
    @keyBindings = @keyBindings.filter (keyBinding) -> keyBinding.source isnt source
    undefined

  ###
