Add parent and child body nodes to Joint's constructor.