```ruby
require "kaminari/mongo_mapper/version"

module Kaminari
  module MongoMapper
    # Your code goes here...
  end
end
```

Copy MongoMapper initialization from kaminari/hooks.rb
user
```ruby
require "kaminari/mongo_mapper/version"

ActiveSupport.on_load :mongo_mapper do
  require 'kaminari/models/mongo_mapper_extension'
  ::MongoMapper::Document.send :include, Kaminari::MongoMapperExtension::Document
  ::Plucky::Query.send :include, Kaminari::PluckyCriteriaMethods
end
```
assistant