Encapsulates common patterns and various interactions between Sidekiq and ActiveRecord.