Prepare middleware for Sidekiq 3 upgrade