Improving documentation and identifying potential bug in CC calculation.