Compatibility with Mongoid 4.x and Delayed Job 4.x.