Make migrating away from Mongoid slightly less painful.