anchor.diff:  <%       end -%>
   }
   
  -<%       property.nested_properties.each do |prop| -%>
  -<%=        lines(build_expand_method(prefix + titlelize_property(property), prop), 1) -%>
  -<%       end -%>
  +
   <%     elsif property.is_a?(Api::Type::Array) && property.item_type.is_a?(Api::Type::ResourceRef) -%>
     l := v.([]interface{})
     req := make([]interface{}, 0, len(l))
  
positive.code:   return m, nil
  }
  
  <%     property.nested_properties.each do |prop| -%>
  <%       next if prop.name == property.key_name -%>
  <%=        lines(build_expand_method(prefix + titlelize_property(property), prop), 1) -%>
  <%     end -%>
  <%   elsif property.is_a?(Api::Type::KeyValuePairs) -%>
  func expand<%= prefix -%><%= titlelize_property(property) -%>(v interface{}, d TerraformResourceData, config *Config) (map[string]string, error) {
    if v == nil {
  
negative.code: <%     end -%>
  }
  
  <%# Generate expanders for everything else %>
  <%   elsif tf_types.include?(property.class) -%>
  func expand<%= prefix -%><%= titlelize_property(property) -%>(v interface{}, d TerraformResourceData, config *Config) (interface{}, error) {
  <%     if property.is_set -%>
    v = v.(*schema.Set).List()
  <%     end -%>
  <%     if property.nested_properties? -%>
    l := v.([]interface{})
  <%       if property.is_a?(Api::Type::Array) -%>
    req := make([]interface{}, 0, len(l))
  