Removed the 'mongoid/tree' requirement, as file not present in Mongoid 4.0.0 – seems to work ok, although YMMV.