Support for Moped v2/Mongoid v4.