Cleanup message definition iteration.