   # All successful copy requests should, at some point, call this function.  
   # If `str` is empty the contents of the system clipboard will not change.
   copy: (str, hidden) ->
-    result  = no
     sandbox = $('#sandbox').val(str).select()
-    result  = document.execCommand 'copy'
+    document.execCommand 'copy'
     sandbox.val ''
-    unless hidden
-      @status = result
-      showNotification()
+    showNotification() unless hidden
 
   # Attempt to retrieve the key of the template with the specified `name`.  
   # Since only the names of predefined templates are known, return a newly

      # Ensure that the user is notified if they have attempted to copy an
      # empty string to the system clipboard.
      if result.success and not result.contents
        result.message = i18n.get 'copy_fail_empty'
        result.success = no
      if result.success
        ext.copy result.contents
      else
        ext.message = result.message
        ext.status  = no
        showNotification()
      if result.template?
        updateTemplateUsage result.template.key

      # Oops! Something went wrong so we should probably let the user know.
      runner.finish
        message: i18n.get if error instanceof URIError
          'result_bad_uri_description'
        else
          'result_bad_error_description'
        success: no
  runner.pushPacked null, addAdditionalData, ->
    [tab, data, ->
