Accounting for change in Mongoid's metadata API.