```ruby
require 'stacks/namespace'

class Stacks::ProxyServer < Stacks::MachineDef
  attr_reader :virtual_service

  def initialize(virtual_service, index)
    super(virtual_service.name + "-" + index)
    @virtual_service = virtual_service
    @downstream_services = []
    @proxy_vhosts_lookup = {}
    @proxy_vhosts = []
  end

  def bind_to(environment)
    super(environment)
  end

  def to_enc
    service_resources = Hash[virtual_service.downstream_services()]
    {'role::proxyserver' => {
        'prod_vip_fqdn' => self.virtual_service.vip_fqdn,
        'vhosts'  => service_resources
      }
    }
  end
end
```

Remove code which doesn't appear to be needed that was throwing me off
user
```ruby
require 'stacks/namespace'

class Stacks::ProxyServer < Stacks::MachineDef
  attr_reader :virtual_service

  def initialize(virtual_service, index)
    super(virtual_service.name + "-" + index)
    @virtual_service = virtual_service
  end

  def bind_to(environment)
    super(environment)
  end

  def to_enc
    service_resources = Hash[virtual_service.downstream_services()]
    {'role::proxyserver' => {
        'prod_vip_fqdn' => self.virtual_service.vip_fqdn,
        'vhosts'  => service_resources
      }
    }
  end
end
```
assistant