 
     class AppControl
         constructor: (app_models) ->
+            _.extend @, Backbone.Events
+
             # Units currently on the map
             @units = app_models.units
             # Services in the cart

            @selected_events = app_models.selected_events
            @search_results = app_models.search_results
            @search_state = app_models.search_state

            if DEBUG_STATE
                @event_debugger = new debug.EventDebugger @

                @units.reset []
                @_resetSearchResults()

            if service.has 'ancestors'
                ancestor = @services.find (s) ->
                    s.id in service.get 'ancestors'
                if ancestor?
                    @removeService ancestor
            @services.add service
            @_fetchServiceUnits service

        _reFetchAllServiceUnits: ->
            if @services.length > 0
                @units.reset []
                @services.each (s) => @_fetchServiceUnits(s)

        _fetchServiceUnits: (service) ->
            unit_list = new models.UnitList pageSize: PAGE_SIZE
            service.set 'units', unit_list

