Refactor out messages to constants