Use constants for named messages.

Doing small pull requests from now on :)