'cDS' bug corrected. 'changeRefGroup' code amended.