Add support for exporting joints.