Added framework for Joint class.