Reworked add_root and add_child methods in MPTT class.