Added support for Moped (when used without Mongoid)