Added methods for PrismaticJointDef and RevoluteJointDef