Use constants for messages instead of literals.