Initial implementation of setToSubobject and resetFromSubobject.