New CHECK_STATUS() and FAIL() macros