       load_data: ->
         needed = []
         if ! @host?
-          @host = new Bixby.model.Host({ id: @params.host_id })
+          @host = new _bm.Host({ id: @params.host_id })
           needed.push @host
 
         if ! @commands
-          @commands = new Bixby.model.MonitoringCommandList()
+          @commands = new _bm.MonitoringCommandList()
           needed.push @commands
 
         return needed

  Bixby.app.add_state(
    class extends Stark.State
      name: "mon_hosts_resources_new_opts"
      views:      [ Bixby.view.PageLayout, _vn.Layout, _vn.AddCommand, _vn.AddCommandOpts ]
      no_redraw:  [ Bixby.view.PageLayout, _vn.Layout, _vn.AddCommand ]
      models:     { host: Bixby.model.Host, commands: Bixby.model.MonitoringCommandList }
      load_data: ->
        @spinner = new Bixby.view.Spinner($("div.command_opts"))
        return @commands

      activate: ->


      url:  "monitoring/hosts/:host_id" #  match() pattern [optional]

      views:      [ _bv.PageLayout, _vn.Layout, _vn.ResourceList ]
      no_redraw:  [ _bv.PageLayout, _vn.Layout ]
      models:     { host: _bm.Host, resources: _bm.ResourceList }

      events: {
        mon_hosts_resources_new: { models: [ _bm.Host ] }
      }

      create_url: ->
