Use atoms instead of strings for error messages.