Support of Mongoid 3 + Refactoring