No more casting required when creating a new B2Flx shape or joint.