Mongoid support.