0.5.1 to support Mongoid 3.1.x;