Added constants and methods for checking status