=== Message

Refactor this method to reduce its Cognitive Complexity from x to the y allowed.

