```ruby
module Ruboty
  module DMM
    class Agent
      attr_accessor :agent

      def initialize
        @agent = ::Mechanize.new
        @agent.ignore_bad_chunking = true
        @agent.request_headers = { 'Accept-Encoding' => '' }
        @agent.ignore_bad_chunking = true
      end
    end
  end
end
```

Remove a duplication of Agent klass
user
```ruby
module Ruboty
  module DMM
    class Agent
      attr_accessor :agent

      def initialize
        @agent = ::Mechanize.new
        @agent.request_headers = { 'Accept-Encoding' => '' }
        @agent.ignore_bad_chunking = true
      end
    end
  end
end
```
assistant