define subobjects on tree objects