Moved ANSI codes to constants.