     content     = 'God knows.'
 
     titles = {}
-    for title in ['domain', 'machine', 'rule', 'extra']
+    for title in ['domain', 'vm', 'rule', 'extra']
       titles[title] = items[title].dia.getData().title  if items[title]
 
     if action is 'create'
 
-      if titles.domain? and titles.machine?
+      if titles.domain? and titles.vm?
         content = """Do you want to assign <b>#{titles.domain}</b>
-                     to <b>#{titles.machine}</b> machine?"""
+                     to <b>#{titles.vm}</b> vm?"""
       else if titles.domain? and titles.rule?
         content = """Do you want to enable <b>#{titles.rule}</b> rule
                      for <b>#{titles.domain}</b> domain?"""
-      else if titles.machine? and titles.extra?
+      else if titles.vm? and titles.extra?
         content = """Do you want to add <b>#{titles.extra}</b>
-                     to <b>#{titles.machine}</b> machine?"""
+                     to <b>#{titles.vm}</b> vm?"""
 
     else if action is 'delete'
 
-      if titles.domain? and titles.machine?
+      if titles.domain? and titles.vm?
         content = """Do you want to remove <b>#{titles.domain}</b>
-                     domain from <b>#{titles.machine}</b> machine?"""
+                     domain from <b>#{titles.vm}</b> vm?"""
       else if titles.domain? and titles.rule?
         content = """Do you want to disable <b>#{titles.rule}</b> rule
                      for <b>#{titles.domain}</b> domain?"""
-      else if titles.machine? and titles.extra?
+      else if titles.vm? and titles.extra?
         content = """Do you want to remove <b>#{titles.extra}</b>
-                     from <b>#{titles.machine}</b> machine?"""
+                     from <b>#{titles.vm}</b> vm?"""
 
     return "<div class='modalformline'><p>#{content}</p></div>"
 

    super container, pos

    {name} = container.constructor
    label  = containerMap[name] or name
    container._initialPosition = pos
    @boxes[label] = container


class EnvironmentScene extends KDDiaScene

  @containerMap =
    EnvironmentRuleContainer    : 'rules'
    EnvironmentExtraContainer   : 'extras'
    EnvironmentDomainContainer  : 'domains'
    EnvironmentMachineContainer : 'vms'

  itemMap      =
    EnvironmentRuleItem         : 'rule'
    EnvironmentExtraItem        : 'extra'
    EnvironmentDomainItem       : 'domain'
    EnvironmentMachineItem      : 'vm'

  constructor:->
    super
