make it support Mongoid