anchor.diff:    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 -%>
  +<%# Generate expanders for KeyValuePairs %>
   <%   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 {
  
positive.code:                            prefix: prefix,
                             property: property)) -%>
  <% else -%>
  <%   if property.is_a?(Api::Type::Map) -%>
  func expand<%= prefix -%><%= titlelize_property(property) -%>(v interface{}, d TerraformResourceData, config *Config) (map[string]interface{}, error) {
    if v == nil {
  
negative.code:   }
    return m, nil
  }
  
  <%# Generate expanders for flattened objects %>
  <%   elsif property.flatten_object -%>
  func expand<%= prefix -%><%= titlelize_property(property) -%>(d TerraformResourceData, config *Config) (interface{}, error) {
    transformed := make(map[string]interface{})
  