HashKey as class, nest some tree classes