Preliminary implementation of Lav_setParent.