```ruby
# Needed to import datamapper and other gems
require 'rubygems'
require 'pathname'

# Add all external dependencies for the plugin here
gem 'dm-core', '~>0.9.10'
require 'dm-core'

# Require plugin-files
require Pathname(__FILE__).dirname.expand_path / 'dm-is-searchable' / 'is' / 'searchable.rb'


# Include the plugin in Resource
module DataMapper
  module Resource
    module ClassMethods
      include DataMapper::Is::Searchable
    end # module ClassMethods
  end # module Resource
end # module DataMapper
```

Change usage of DataMapper::Resource::ClassMethods to use Model
user
```ruby
# Needed to import datamapper and other gems
require 'rubygems'
require 'pathname'

# Add all external dependencies for the plugin here
gem 'dm-core', '~>0.9.10'
require 'dm-core'

# Require plugin-files
require Pathname(__FILE__).dirname.expand_path / 'dm-is-searchable' / 'is' / 'searchable.rb'


# Include the plugin in Resource
module DataMapper
  module Model
    include DataMapper::Is::Searchable
  end # module Model
end # module DataMapper
```
assistant