Relax dependency on mongoid 3.x.