Mongoid 4 support