Change Joint class constructor interface.