Address feedback regarding constants and using FAILED().