 
   # Get the number of deleted files
   # Does not matter whether or not they are staged
-  @register 'deleted',
+  register 'deleted',
     update: (done) ->
       git._status (err, statuses) ->
         count = _filter_statuses_by_desc(statuses, 'deleted').length


  # Get the number of "added" files
  # Added is defined as new files that are staged
  @register 'added',
    update: (done) ->
      git._status (err, statuses) ->
        statuses = _filter_statuses_by_desc statuses, 'added'

  # Returns an array of objects with 'path', 'code', 'staged', 'desc'
  #
  # This command *must* be passed through a formatter before its displayed
  register '_status',
    update: (done) ->
      return done null, [] unless status = repo?.getStatus()

