'subclasDS' code amended and 'extract' added to internal functions.