Implemented task status via classes.