Add forward declarations for anchor joint.