Fixed mongoid dependencies