Support mongoid orm