Compliant with mongoid