Use constants for message types