Improved MSG processing.