Fix rel types.