Support mongoid-beta1