   remove_ = @::remove
   remove: secure (client, callback)->
     JName = require '../name'
+    JNewStatusUpdate = require '../messages/newstatusupdate'
 
     @fetchOwner (err, owner)=>
       return callback err if err

          JNewApp = require '../app'
          removeHelperMany JNewApp, apps, err, callback, queue

        # needs to be tested once subgroups are supported
        # => @fetchSubgroups (err, groups)=>
        #   return callback err if err
        #   return queue.next() unless groups
        #   ids = (model._id for model in groups)
        #   JGroup.remove client, (_id: $in: ids), (err)->
        #     return callback err if err
        #     queue.next()

        =>
          @constructor.emit 'GroupDestroyed', this

          JInvitation = require '../invitation'
          removeHelperMany JInvitation, requests, err, callback, queue

        => @fetchTags (err, tags)->
          JTag = require '../tag'
          removeHelperMany JTag, tags, err, callback, queue
