Removed  unused code in status class