WIP on category tree manipulation.