def method_missing(name, *args, &block)
      if @resource.respond_to?(name)
        result = @resource.send(name, *args, &block)
        result.is_a?(Resource) ? ResourceAndAddress.new(result, @address.dup) : result
      else
        super
      end
    end
def method_missing(name, *args, &block)
      if @resource.respond_to?(name)
        result = @resource.send(name, *args, &block)
        result.is_a?(Resource) ? ResourceAndAddress.new(result, @address.dup) : result
      else
        super
      end
    end
method_missing is to catch generated methods that don't get delegated.