```ruby
# coding: utf-8

require 'ostruct'

module ActiveInteraction
  class GroupedInput < OpenStruct
  end
end
```

Define methods for backwards compatibility
user
```ruby
# coding: utf-8

require 'ostruct'

module ActiveInteraction
  class GroupedInput < OpenStruct
    def [](name)
      return super if self.class.superclass.method_defined?(:[])

      send(name)
    end

    def []=(name, value)
      return super if self.class.superclass.method_defined?(:[]=)

      send("#{name}=", value)
    end
  end
end
```
assistant