Added a stat query for refactoring messages with name conflicts.