Added task class.