       JProxyRestriction.deleteRule params, (err)-> callback err
 
   @fetchGroupDomains: secure (client, callback)->
-    JVM = require './vm'  
+    JVM = require './vm'
     JVM.fetchVmsByContext client, {}, (err, vms) ->
       return callback err if err
       JDomain.some hostnameAlias : $in : vms, {}, callback

    match = domain.match /(.*)\.([a-z0-9\-]+)\.kd\.io$/

    [rest..., prefix, slug] = match
    
    if newDomain and /^shared|vm[\-]?([0-9]+)?/.test prefix
      return callback new KodingError("Domain name cannot start with shared|vm", "INVALIDDOMAIN")



    sharedMethods:

      static:
        one:
          (signature Object, Function)
        getDomainInfo:
