adding mongoid support