This ensures all diagnostic messages are created at diagnostic emission time, making them translatable.