                 @span class: 'disable-text', 'Disable'
               @button type: 'button', class: 'btn status-indicator', tabindex: -1, outlet: 'statusIndicator'
 
-  initialize: (@pack, @packageManager, opts) ->
+  initialize: (@pack, @packageManager, options) ->
     # It might be useful to either wrap @pack in a class that has a ::validate
     # method, or add a method here. At the moment I think all cases of malformed
     # package metadata are handled here and in ::content but belt and suspenders,

      @settingsButton.remove()

    @updateButtonGroup.hide()
    @installAlternativeButtonGroup.hide()
    @enablementButton.hide() if @type is 'theme'

    @updateForUninstalledCommunityPackage() unless @isInstalled()
    @updateInterfaceState()

          """
          console.error("No available version compatible with the installed Atom version: #{atom.getVersion()}")

  handleButtonEvents: (options) ->
    if options?.onSettingsView
      @settingsButton.remove()
    else
      @on 'click', =>
        @parents('.settings-view').view()?.showPanel(@pack.name, {back: options?.back, pack: @pack})
      @settingsButton.on 'click', (event) =>
        event.stopPropagation()
        @parents('.settings-view').view()?.showPanel(@pack.name, {back: options?.back, pack: @pack})

    @installButton.on 'click', (event) =>
      event.stopPropagation()
