       return unless @setRegister?
 
       if newText == ''
-        @setRegister('"', text: oldText, type: utils.copyType(oldText))
-
-  # Private: Creates the plugin's commands
+        @setRegister('"', text: oldText, type: Utils.copyType(oldText))
+
+  # Private: Creates the plugin's Commands
   #
   # Returns nothing.
   setupCommandMode: ->
     # Commands here start a new mode instead of popping the operation stack
     # immediately.
     @editorView.command 'vim-mode:search', =>
-      @currentSearch = new motions.Search(@editorView, @)
+      @currentSearch = new Motions.Search(@editorView, @)
     @editorView.command 'vim-mode:reverse-search', =>
-      @currentSearch = new motions.Search(@editorView, @)
+      @currentSearch = new Motions.Search(@editorView, @)
       @currentSearch.reversed()
     @editorView.command 'vim-mode:replace', =>
-      @currentReplace = new operators.Replace(@editorView, @)
+      @currentReplace = new Operators.Replace(@editorView, @)
 
     @editorView.command 'vim-mode:activate-command-mode', => @activateCommandMode()
     @editorView.command 'vim-mode:activate-insert-mode', => @activateInsertMode()

      return

    unless @topOperation().isComplete()
      if @mode is 'command' and @topOperation() instanceof operators.Operator
        @activateOperatorPendingMode()
      return


        e.abortKeyBinding()
        false
      else
        new Prefixes.Repeat(num)

  # Private: Figure out whether or not we are in a repeat sequence or we just
  # want to move to the beginning of the line. If we are within a repeat
