Added collections getTree support