Slight modifications to MyParser doTypeDefExtract