Improved MSC class parsing to eliminate nonstandard classes.